package com.shiwaixiangcun.monitor.domain;


import com.rabbit.spring.data.domain.BaseEntity;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Administrator on 2017-11-28.
 */
@Entity
@Table(name = "ms_electronic_fence")
@DynamicUpdate
@DynamicInsert
public class ElectronicFence extends BaseEntity<Long> {

    private Double longitude;//经度
    private Double latitude;//纬度

    public ElectronicFence() {

    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }
}
